package cn.edu.xust.Vo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.hibernate.validator.constraints.Length;

import javax.validation.constraints.NotNull;

/**
 * @author ufo
 * @version 1.0
 * @date 2023/2/10 16:25
 */


@Data
@NoArgsConstructor
@AllArgsConstructor
public class SearchPageRecoredVo {



    @NotNull(message = "酒店号不能为空")
    String hotelid;

    @NotNull(message = "颗粒度不能为空")
    String granularity;

    @Length(max=30)
    String starttimeformat;

    @Length(max=30)
    String endtimeformat;




}
